import React from "react";
import PropChild from "./PropChild";

class PropParent extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            // msg:'测试数据'
        }
    }
    componentDidMount(){
    }
    render(){
        return(
            <>
                <h1>类型检查</h1>
                <PropChild  msg={this.state.msg}/>
            </>
        )
    }
}
export default PropParent;